package com.woniuxy.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.data.annotation.Id;

import java.io.Serializable;

@Data
@TableName("sys_comments")
public class Comments implements Serializable {

    private Long id;
    @TableField("userId")
    private int userId;
    private String content;
    @TableField(exist = false)
    private String userImg;
    @TableField(exist = false)
    private String userName;
}
